package com.study.wrap;

public class PersonWrap1 implements Person{
    private  Person person;

    @Override
    public void say() {
        System.out.println("------wrap1 begin-----");
        person.say();
        System.out.println("------wrap1 end-----");
    }

    public PersonWrap1(Person person) {
        this.person = person;
    }
}
